package xyz.bali16.module.netdisk.model.filestorage;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加文件仓库参数")
public class FileStorageAddParam {
    @ApiModelProperty(name = "fileUserId", value = "文件用户Id", required = true)
    @NotNull(message = "文件用户Id不能为空")
    private String fileUserId;

    @ApiModelProperty(name = "currentSize", value = "当前容量", required = false)
    private Integer currentSize;

    @ApiModelProperty(name = "maxSize", value = "最大容量", required = false)
    private Integer maxSize;

    @ApiModelProperty(name = "permission", value = "最大容量", required = false)
    private Integer permission;
}
